g_vue_data = {
    loading: false,
    loading_txt: '加载中',
    form: {
    },
    rules_422: [],
    rules: {
    },
}
g_vue_json =
    {
        el: '.app',
        data: g_vue_data,
        methods: {
            func_valid(func)
            {
                g_vue.$refs['form'].validate((valid) =>
                {
                    if (valid)
                    {
                        console.log('success submit');

                        func();
                    }
                    else
                    {
                        console.log('error submit!!');
                        return false;
                    }
                });
            },
        }
    };
